package com.xgg.taiwuinfo.gongfa.shaolin.quanzhang;

import com.xgg.taiwuinfo.R;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cast;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Body;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Damage;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Hit;
import com.xgg.taiwuinfo.gongfa.base.Gongfa;
import com.xgg.taiwuinfo.gongfa.base.Gongfa_Cuipo_Quanzhang;
import com.xgg.taiwuinfo.gongfa.readingeffect.Reading_Text;
import com.xgg.taiwuinfo.utils.Element;
import com.xgg.taiwuinfo.utils.Inherit;
import com.xgg.taiwuinfo.utils.Requirement;

public class DaMoShiBaShou extends Gongfa_Cuipo_Quanzhang {

    public DaMoShiBaShou()
    {
        super("达摩十八手" , 4 , Element.ELEMENT_METAL , Inherit.INHERIT_SHAOLIN);
        mGridOccupy = 2;
        //式
        Shi = new int[] { 2 , 1 , 1};
        //施法时间及气势
        ability_cast = new Ability_Cast(28 , 50, 50);
        //命中分布
        ability_cuipo_hit = new Ability_Cuipo_Hit(new int[] {3,4,3}, new int[] { 160, 240, 224});
        //攻击部位
        ability_cuipo_body = new Ability_Cuipo_Body(new int[]{
                /*胸腰头*/         35, 20, 1,
                /*四肢*/           10, 10, 5,  5,
                /*心神，毒，全身*/ 0,  0,  0
        });
        ability_cuipo_damage = new Ability_Cuipo_Damage(36,112,112,1.0 , 6 , 6);
        PushYunGongObject(Gongfa.ABL_INDEX_Jingmiao ,180 );
        PushYunGongObject(Gongfa.ABL_INDEX_Lidao ,40 );
        PushYunGongObject(Gongfa.ABL_INDEX_Xunji, 40);
        InitYunGongAbility();

        mGongfaRequired[Requirement.GF_QZ] = 375;
        mAttrRequired[Requirement.ATTR_LL] = 70;
        mAttrRequired[Requirement.ATTR_TZ] = 80;
        mAttrRequired[Requirement.ATTR_DL] = 110;
        mJiyiRequired[Requirement.JY_FX] = 375;

        PosfullReading = new Reading_Text(R.string.reading_damoshibashou_pos);
        NegfullReading = new Reading_Text(R.string.reading_damoshibashou_neg);
    }
}
